﻿using System;
using SqlSugar;

namespace Ioacp.Syka.Dbs
{
    [SugarTable("Work_Type_Info", TableDescription = "工种信息表")]
    public class WorkTypeInfo
    {
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true,
    ColumnDescription = "工种Id", ColumnDataType = "varchar", Length = 36)]
        public string WorkTypeId { get; set; }

        [SugarColumn(ColumnName = "Name",
            ColumnDescription = "工种名称", ColumnDataType = "varchar", Length = 20)]
        public string WorkTypeName { get; set; }

        [SugarColumn(ColumnName = "Order_Num",
            ColumnDescription = "排序码", ColumnDataType = "varchar", Length = 30)]
        public string OrderNum { get; set; }

        [SugarColumn(ColumnName = "Sync_Flag",
            ColumnDescription = "同步标识(1 新增 2 修改 3 删除)")]
        public Int16 SyncFlag { get; set; }
    }
}